<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>用户新增页面</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<div>
		<h4 style="font-size:20px; color:#0000FF">系统管理>>用户管理>>用户新增</h4>
	</div>
	<div align="center">
		<form action="addUser.action" method="post">
			<table border="1px" width="300px">
				<tr>
					<td>用户登录ID:</td>
					<td><input name="user.loginName" type="text">
					</td>
				</tr>
				<tr>
					<td>用户登录密码:</td>
					<td><input name="user.password" type="password">
					</td>
				</tr>
				<tr>
					<td>确认密码:</td>
					<td><input name="repwd" type="password">
					</td>
				</tr>
				<tr>
					<td>用户中文名称:</td>
					<td><input name="user.username" type="text">
					</td>
				</tr>
				<tr>
					<td>用户所属部门:</td>
					<td><s:select name="deptId" list="deptList" listKey="id"
							listValue="name" theme="simple"></s:select></td>
				</tr>
				<tr>
					<td>用户所在岗位:</td>
					<td><s:select name="jobId" list="jobList" listKey="id"
							listValue="name" theme="simple"></s:select></td>
				</tr>
				<tr>
					<td>用户状态：</td>
					<td><input name="user.status" checked="checked" type="radio" value="启用">启用&nbsp;<input name="user.status" type="radio" value="禁用">禁用</td>
				</tr>
				<tr>
					<td colspan="2" align="center"><input type="submit" value="新增">&nbsp;<input
						type="button" value="取消"
						onclick="location.href='findAllUsers.action'">
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
